package com.ruoyi.retirement.service;

import java.util.List;
import com.ruoyi.retirement.domain.RetirementMenu;

/**
 * 首页菜单/一级分类Service接口
 * 
 * @author 曹旭
 * @date 2025-09-01
 */
public interface IRetirementMenuService 
{
    /**
     * 查询首页菜单/一级分类
     * 
     * @param id 首页菜单/一级分类主键
     * @return 首页菜单/一级分类
     */
    public RetirementMenu selectRetirementMenuById(Long id);

    /**
     * 查询首页菜单/一级分类列表
     * 
     * @param retirementMenu 首页菜单/一级分类
     * @return 首页菜单/一级分类集合
     */
    public List<RetirementMenu> selectRetirementMenuList(RetirementMenu retirementMenu);

    /**
     * 新增首页菜单/一级分类
     * 
     * @param retirementMenu 首页菜单/一级分类
     * @return 结果
     */
    public int insertRetirementMenu(RetirementMenu retirementMenu);

    /**
     * 修改首页菜单/一级分类
     * 
     * @param retirementMenu 首页菜单/一级分类
     * @return 结果
     */
    public int updateRetirementMenu(RetirementMenu retirementMenu);

    /**
     * 批量删除首页菜单/一级分类
     * 
     * @param ids 需要删除的首页菜单/一级分类主键集合
     * @return 结果
     */
    public int deleteRetirementMenuByIds(Long[] ids);

    /**
     * 删除首页菜单/一级分类信息
     * 
     * @param id 首页菜单/一级分类主键
     * @return 结果
     */
    public int deleteRetirementMenuById(Long id);
}
